package com.moxiao.yfjh.module.activity.convert.activityEnroll;

import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.activity.controller.admin.activityEnroll.vo.*;
import com.moxiao.yfjh.module.activity.dal.dataobject.activityEnroll.ActivityEnrollDO;

/**
 * 相亲报名信息 Convert
 *
 * @author mx
 */
@Mapper
public interface ActivityEnrollConvert {

    ActivityEnrollConvert INSTANCE = Mappers.getMapper(ActivityEnrollConvert.class);

    ActivityEnrollDO convert(ActivityEnrollCreateReqVO bean);

    ActivityEnrollDO convert(ActivityEnrollUpdateReqVO bean);

    ActivityEnrollRespVO convert(ActivityEnrollDO bean);

    List<ActivityEnrollRespVO> convertList(List<ActivityEnrollDO> list);

    PageResult<ActivityEnrollRespVO> convertPage(PageResult<ActivityEnrollDO> page);

    List<ActivityEnrollExcelVO> convertList02(List<ActivityEnrollDO> list);

}
